import request from '@/utils/request'

// 导出excel
export function exportExcel(query) {
  return request({
    url: '/admin/export/excel/day',
    method: 'get',
    params: query
  })
}

//导入excel
export function importExcel(data) {
    return request({
      url: '/admin/export/excel/day/import',
      'Content-type':'multipart/form-data',
      method: 'post',
      data
    })
  }

